Repository navigation
Add Italian (it) as a bundled locale (unreviewed AI drafts) - #1200
SkillDMonkey wants to merge 11 commits into
Conversation
…-5-5) Every entry is marked for review, as in the other bundled locales. Written by an AI agent on behalf of the repository owner.
|
Thanks @SkillDMonkey! The locale wiring follows Before this can land:
CI for this fork is waiting on maintainer approval to run. |
|
Thanks for the review, @Aymericr. Updated as requested:
Disclosure: I'm an AI agent (Claude) contributing on behalf of Unitizy. The Italian drafts are AI-generated; the reviewed batch was checked by a person. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 345302e. Configure here.
| @@ -0,0 +1 @@ | |||
| /*eslint-disable*/import type{Messages}from"@lingui/core";export const messages=JSON.parse("{\"app.buildTab.addGate\":[\"Aggiungi cancello\"],\"app.buildTab.doubleGate\":[\"Doppio cancello\"],\"app.buildTab.gateStyle\":[\"Stile del cancello\"],\"app.buildTab.off\":[\"Spento\"],\"app.buildTab.outdoor\":[\"Esterno\"],\"app.buildTab.selectACurvedWallToMatch\":[\"Seleziona un muro curvo per abbinarne raggio e arco.\"],\"app.editorNavbar.allProjects\":[\"Tutti i progetti\"],\"app.editorNavbar.preview\":[\"Anteprima\"],\"app.editorNavbar.projectName\":[\"Nome del progetto\"],\"app.editorNavbar.renameProject\":[\"Rinomina progetto\"],\"app.editorNavbar.share\":[\"Condividi\"],\"app.sceneLoader.anotherSessionSavedFirstRefresh\":[\"Un'altra sessione ha già salvato. Ricarico?\"],\"app.sceneLoader.build\":[\"Costruisci\"],\"app.sceneLoader.items\":[\"Oggetti\"],\"app.sceneLoader.reload\":[\"Ricarica\"],\"app.sharePanel.copied\":[\"Copiato\"],\"app.sharePanel.copy\":[\"Copia\"],\"app.sharePanel.couldNotReadTheSharingState\":[\"Impossibile leggere lo stato di condivisione.\"],\"app.sharePanel.couldNotTurnOffThePublic\":[\"Impossibile disattivare il link pubblico.\"],\"app.sharePanel.couldNotTurnOnThePublic\":[\"Impossibile attivare il link pubblico.\"],\"app.sharePanel.embedLink\":[\"Link di incorporamento\"],\"app.sharePanel.link\":[\"Link\"],\"app.sharePanel.onlyThe3dViewNoHeader\":[\"Solo la vista 3D, senza intestazione né barra degli strumenti.\"],\"app.sharePanel.publicLink\":[\"Link pubblico\"],\"app.viewerToolbar.above\":[\"Sopra\"],\"app.viewerToolbar.ceilings\":[\"Soffitti\"],\"app.viewerToolbar.default\":[\"Predefinito\"],\"app.viewerToolbar.enterVr\":[\"Entra in VR\"],\"app.viewerToolbar.floorPlanAnnotations\":[\"Annotazioni della pianta\"],\"app.viewerToolbar.grid\":[\"Griglia\"],\"app.viewerToolbar.manual\":[\"Manuale\"],\"app.viewerToolbar.monochrome\":[\"Monocromatico\"],\"app.viewerToolbar.orthographic\":[\"Ortogonale\"],\"app.viewerToolbar.plan\":[\"Pianta\"],\"app.viewerToolbar.sceneTheme\":[\"Tema della scena\"],\"app.viewerToolbar.stairAnnotations\":[\"Annotazioni scale\"],\"editor.actionMenu.cameraActions.orbitLeft\":[\"Orbita a sinistra\"],\"editor.actionMenu.furnishTools.bathroom\":[\"Bagno\"],\"editor.actionMenu.measurementControl.chordDimension\":[\"Quota della corda\"],\"editor.actionMenu.measurementControl.perimeter\":[\"Perimetro\"],\"editor.actionMenu.structureTools.column\":[\"Colonna\"],\"editor.actionMenu.structureTools.liquidLine\":[\"Linea del liquido\"],\"editor.actionMenu.structureTools.window\":[\"Finestra\"],\"editor.actionMenu.viewToggles.hideGuideImages\":[\"Nascondi immagini guida\"],\"editor.actionMenu.viewToggles.references\":[\"Riferimenti\"],\"editor.actionMenu.viewToggles.showGuideImages\":[\"Mostra immagini guida\"],\"editor.buildPanel.advanced\":[\"Avanzate\"],\"editor.buildPanel.rooms.rectangle.lead\":[\"Clicca due angoli\"],\"editor.buildPanel.wallTypeControls.duplicateAsANewType\":[\"Duplica come nuovo tipo…\"],\"editor.buildPanel.wallTypeEditorDialog.brickVeneer\":[\"Rivestimento in mattoni\"],\"editor.buildPanel.wallTypeEditorDialog.finish\":[\"Finitura\"],\"editor.buildPanel.wallTypeEditorDialog.layerRole\":[\"Ruolo dello strato\"],\"editor.buildPanel.wallTypeEditorDialog.newWallType\":[\"Nuovo tipo di muro\"],\"editor.buildPanel.wallTypeEditorDialog.saveWallType\":[\"Salva tipo di muro\"],\"editor.floatingLevelSelector.addAFloorUnderTheRoof\":[\"Aggiungi un piano sotto il tetto\"],\"editor.floatingLevelSelector.cancel\":[\"Annulla\"],\"editor.floatingLevelSelector.duplicateLevel\":[\"Duplica piano\"],\"editor.floatingLevelSelector.groundLineTheLevelsUnderIt\":[\"Linea del terreno: i piani sotto sono sotto la quota del terreno\"],\"editor.floatingLevelSelector.setAsGroundFloor\":[\"Imposta come piano terra\"],\"editor.layers.collapse\":[\"Comprimi\"],\"editor.layers.defaultName.node\":[\"Nodo\"],\"editor.layers.rename\":[\"Rinomina\"],\"editor.levelDuplicateDialog.chooseWhatToCopyFromThisLevel\":[\"Scegli cosa copiare da questo piano.\"],\"editor.levelDuplicateDialog.duplicate\":[\"Duplica\"],\"editor.levelDuplicateDialog.everything\":[\"Tutto\"],\"editor.levelDuplicateDialog.structureFurniture\":[\"Struttura + arredi\"],\"editor.levelDuplicateDialog.structureMaterialsFurnitureAndReferences\":[\"Struttura, materiali, arredi e riferimenti.\"],\"editor.levelDuplicateDialog.structureOnly\":[\"Solo struttura\"],\"editor.panels.panelWrapper.titleHitAnErrorAndWas\":[\"“\",[\"title\"],\"” ha generato un errore ed è stato scaricato per questa sessione.\"],\"editor.panels.scriptUnreadable\":[\"Lo script non può essere letto.\"],\"editor.sidebar.iconRail.settings\":[\"Impostazioni\"],\"editor.sidebar.panels.itemsPanel.library\":[\"Libreria\"],\"editor.sidebar.panels.settingsPanel.keyboardShortcutsDialog.modesHistory\":[\"Modalità e cronologia\"],\"editor.sidebar.panels.sitePanel.cameraSnapshot\":[\"Istantanea della camera\"],\"editor.sidebar.panels.sitePanel.drawAZone\":[\"Disegna una zona\"],\"editor.sidebar.panels.sitePanel.noBuildingsYet\":[\"Ancora nessun edificio\"],\"editor.sidebar.panels.sitePanel.site\":[\"Sito\"],\"editor.sidebar.panels.sitePanel.units\":[\"Unità\"],\"editor.sidebar.panels.zonePanel.actions\":[\"Azioni\"],\"editor.sidebar.panels.zonePanel.updateSnapshot\":[\"Aggiorna istantanea\"],\"editor.views.plugins\":[\"Plugin\"],\"editor.views.viewBar.browsePlugins\":[\"Sfoglia plugin\"],\"editor.views.viewBar.moreViews\":[\"Altre viste\"],\"editor.views.viewBar.split2\":[\"Dividi\"],\"node.cabinet.kitchenModuleActions.unableToUpdateThisKitchen\":[\"Impossibile aggiornare questa cucina.\"],\"node.ductSegment.editInspector.unableToApplyEdit\":[\"Impossibile applicare la modifica.\"],\"node.ductSegment.editInspector.unableToPlanEdit\":[\"Impossibile pianificare questa modifica.\"],\"node.pipeSegment.offsetInspector.unableToApplyOffset\":[\"Impossibile applicare lo scostamento.\"],\"node.pipeSegment.resizeInspector.unableToResize\":[\"Impossibile ridimensionare il tubo.\"],\"node.shared.systemCheckPanel.error\":[\"Errore\"],\"node.shared.systemCheckPanel.errors\":[\"Errori\"],\"viewer.display.camera\":[\"Camera\"],\"viewer.display.colored\":[\"Colorato\"],\"viewer.display.edges.title\":[\"Bordi\"],\"viewer.display.shadows\":[\"Ombre\"],\"viewer.floorplan.alignNorth\":[\"Allinea la vista a nord\"],\"viewer.floorplan.fit\":[\"Adatta la pianta\"],\"viewer.floorplan.floorPlan\":[\"Pianta\"],\"viewer.header.back\":[\"Indietro\"],\"viewer.header.levels\":[\"Piani\"],\"viewer.header.selection\":[\"Selezione\"],\"viewer.header.untitled\":[\"Senza titolo\"],\"viewer.levels.exploded\":[\"Esploso\"],\"viewer.levels.solo\":[\"Singolo\"],\"viewer.levels.stacked\":[\"Impilati\"]}")as Messages; No newline at end of file | |||
There was a problem hiding this comment.
Unreviewed Italian drafts ship as approved
Medium Severity
About a hundred Italian entries are marked Review: human without fuzzy, so they compile into the shipped pack. The catalog is still unreviewed AI output, and ?lang=it therefore shows a mix of unverified Italian and English instead of English until a fluent reviewer approves copy.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 345302e. Configure here.
There was a problem hiding this comment.
This is intentional. These 105 entries were reviewed and approved by a native Italian speaker, as the maintainer asked in point 3 of the review above (first reviewed batch of the most visible strings). That is why they are Review: human without fuzzy and compile into the pack. All the other 3,857 Italian entries stay fuzzy / Review: required and keep showing the English source until reviewed.
(Reply from an AI agent contributing on behalf of Unitizy.)



What does this PR do?
Adds Italian (
it) as a bundled locale.packages/editor/src/i18n/locales/it/messages.po(+ compiledmessages.ts): all 3,661 entries drafted by an AI model and, followingi18n/README.md, every one is flaggedfuzzywithReview: requiredandAI-Provider: claude-code/AI-Model: claude-opus-5-5, like the existing drafts in the other locales. Per the README they ship as English until a fluent reviewer approves them, so nothing unreviewed is shown to users.lingui.config.ts,packages/editor/src/i18n/locales.ts,scripts/i18n.ts:itadded to the locale lists.scripts/i18n.test.ts,scripts/i18n-literals.test.ts:itadded to the locale lists the tests iterate over.No other change: no copy, no components, no dependencies.
How to test
bun install --frozen-lockfilebun run i18n:check, which on this branch printsPASS sync: Catalogs are in sync with extract output.and listsit 3661among the locales awaiting human review.?lang=it: until entries are reviewed it shows the English source, as the README describes.Screenshots / screen recording
None: drafts are not rendered until reviewed.
Checklist
bun devbun checkto verify)mainbranchDisclosure: this PR was prepared by an AI agent (Claude Code) on behalf of the account owner. What was actually run is listed above:
bun run i18n:checkpassed (Bun 1.4.4, in a container);bun dev,bun checkand the fullbun run ciwere not run, hence the unchecked boxes. Happy to adjust anything, or to hand the catalog to an Italian-speaking reviewer.Note
Low Risk
Localization-only: new locale wiring and draft catalogs with existing review gates; no auth, data, or core app logic changes.
Overview
Adds Italian (
it) as a bundled editor locale alongside the existing target languages.itis wired through Lingui (lingui.config.ts), the bundled locale registry (locales.ts), the i18n CLI/test target lists, and architecture glossary terms ini18n/glossary.json. A newlocales/itcatalog (PO + compiledmessages.ts) holds AI-generated drafts marked fuzzy withReview: required, matching the project rule that unreviewed strings are not compiled into the shipped pack and the UI falls back to English until a reviewer setsReview: human.A locale test asserts that human-approved Italian strings (e.g. Finestra, Sito) resolve at runtime when
?lang=itis used.Reviewed by Cursor Bugbot for commit 345302e. Bugbot is set up for automated code reviews on this repo. Configure here.